package com.atguigu.template;

/**
 * @program: design-patterns
 * @author: yangshen
 * @description: 客户端
 * @create: 2022-02-28 09:27
 **/
public class Client {
    public static void main(String[] args) {
        System.out.println("-------------制作花生豆浆---------------");
        SoyMilk peanutSoyMilk = new PeanutSoyMilk();
        peanutSoyMilk.make();

        System.out.println("-------------制作黑豆豆浆---------------");
        SoyMilk blackBeanSoyMilk = new BlackBeanSoyMilk();
        blackBeanSoyMilk.make();

        System.out.println("-------------制作红豆豆浆---------------");
        SoyMilk readBeanSoyMilk = new ReadBeanSoyMilk();
        readBeanSoyMilk.make();
    }
}
